/*
 * IBroker.java
 * 
 * Version Information
 * Date Mar 20, 2006
 *
 * Copyright (c) AmSoft Systems, 2006
 */

package net.amsoft.iservice.ilink.hibernate;

import java.util.Map;

import org.apache.log4j.Logger;

public class IBroker extends ILinkBaseClass {
	private static final Logger oLogger = Logger.getLogger(IBroker.class);

	private String serverName;

	private String description;

	private String issoURL;

	private String contactURL;

	private Map brokerData;

	private Map brokerAdmin;

	public IBroker() {
		super();
	}

	public String getServerName() {
		return serverName;
	}

	public void setServerName(String serverName) {
		this.serverName = serverName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Map getBrokerData() {
		return brokerData;
	}

	public void setBrokerData(Map brokerData) {
		this.brokerData = brokerData;
	}

	public Map getBrokerAdmin() {
		return brokerAdmin;
	}

	public void setBrokerAdmin(Map brokerAdmin) {
		this.brokerAdmin = brokerAdmin;
	}

	public String getContactURL() {
		return contactURL;
	}

	public void setContactURL(String contactURL) {
		this.contactURL = contactURL;
	}

	public String getIssoURL() {
		return issoURL;
	}

	public void setIssoURL(String issoURL) {
		this.issoURL = issoURL;
	}

	public void debug(String prefix) {
		oLogger.debug(prefix + " : Broker (" + id + ", " + serverName + ", "
				+ description + ", " + creationTime + ", " + modificationTime
				+ ", " + state + ")\n");
	}

}